package com.genius.reservation.item.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 品项信息
 * </p>
 *
 * @author baomidou
 * @since 2022-05-26
 */
@TableName("item_information")
@ApiModel(value = "ItemInformation对象", description = "品项信息")
public class ItemInformation implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("订单编号")
    private String orderNumber;

    @ApiModelProperty("品项名称")
    private String itemName;

    @ApiModelProperty("品项类别")
    private String itemClass;

    @ApiModelProperty("单品件量")
    private Integer itemCount;

    @ApiModelProperty("箱 包")
    private String itemSize;

    @ApiModelProperty("品项编号")
    private String itemNumber;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public String getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber;
    }
    public String getItemName() {
        return itemName;
    }

    public void setItemName(String itemName) {
        this.itemName = itemName;
    }
    public String getItemClass() {
        return itemClass;
    }

    public void setItemClass(String itemClass) {
        this.itemClass = itemClass;
    }
    public Integer getItemCount() {
        return itemCount;
    }

    public void setItemCount(Integer itemCount) {
        this.itemCount = itemCount;
    }
    public String getItemSize() {
        return itemSize;
    }

    public void setItemSize(String itemSize) {
        this.itemSize = itemSize;
    }
    public String getItemNumber() {
        return itemNumber;
    }

    public void setItemNumber(String itemNumber) {
        this.itemNumber = itemNumber;
    }

    @Override
    public String toString() {
        return "ItemInformation{" +
            "id=" + id +
            ", orderNumber=" + orderNumber +
            ", itemName=" + itemName +
            ", itemClass=" + itemClass +
            ", itemCount=" + itemCount +
            ", itemSize=" + itemSize +
            ", itemNumber=" + itemNumber +
        "}";
    }
}
